<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>

<div class="news-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'news_id') ?>

    <?= $form->field($model, 'cateld') ?>

    <?= $form->field($model, 'news_title') ?>

    <?= $form->field($model,'newlmg')?>

    <?= $form->field($model, 'news_company') ?>

    <?= $form->field($model, 'newsTime') ?>

    <?= $form->field($model,'news_content')?>

    <?= $form->field($model,'Report_Mailbox') ?>

    <?= $form->field($model,'like_count') ?>

    <?= $form->field($model,'comment_count') ?>

    <?= $form->field($model,'collect_count') ?>

    <?=  $form->field($model,'forward_count') ?>

    <?= $form->field($model,'creaateTime') ?>

    <?= $form->field($model,'updateTime') ?>

    <div class="form-group">
        <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('Reset', ['class' => 'btn btn-outline-secondary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>